package cn.itcalvin.sncoal.cth.mapper.main;

import cn.itcalvin.sncoal.cth.domain.InfoNews;
import cn.itcalvin.sncoal.cth.pojo.req.news.ReqNewsList;
import cn.itcalvin.sncoal.cth.pojo.response.news.RespNewsList;
import cn.itcalvin.tk.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface InfoNewsMapper extends BaseMapper<InfoNews> {

    /**
     * 列表查询
     * @param reqNewsList
     * @return
     */
    List<RespNewsList> list(@Param("reqNewsList") ReqNewsList reqNewsList);
}